package com.bds.btcdc.adapter.huobi.trade.model;

/**
 * @author: kevin
 * @date: 2018/4/26
 * @description:
 */
public class HuobiOrder {
    /**
     * 交易对，必填，例如："xrpusdt"，
     */
    private String symbol;

    /**
     * 账户ID，必填，例如："12345"
     */
    private String account_id;

    /**
     * 限价单表示下单数量, 市价买单时表示买多少钱，市价卖单时表示卖多少币
     */
    private String amount;

    /**
     * 订单价格，仅针对限价单有效，例如："1234.56"
     */
    private String price;

    /**
     * 订单类型，取值范围"buy-market,sell-market,buy-limit,sell-limit"
     */
    private String type;

    /**
     * 订单来源，例如："api"
     */
    private String source = "api";

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getAccount_id() {
        return account_id;
    }

    public void setAccount_id(String account_id) {
        this.account_id = account_id;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
}
